<%@ Page Language="C#" Inherits="My.Blog.Web.Controllers.BasePage" AutoEventWireup="false" %>
<%@import namespace="System" %>
<%@import namespace="System.Threading" %>
<%@import namespace="System.Collections.Generic" %>
<%@import namespace="My.Blog.Domain.Entities" %>
<%@import namespace="My.Blog.Domain.Interfaces" %>
<%@import namespace="My.Blog.Business.Service" %>
<%@import namespace="My.Blog.Business.Security" %>
<%@import namespace="My.Blog.Web.Controllers" %>
<%@import namespace="My.Blog.Web.UI" %>
<script runat="server">
/////////////////////////////////////////////////////////////////
//File: ArticleInfo.cs
//Description: 
//  Ajax 代码
//  
//Copyright© 2011 Moliu
//History:
//  2011-2-23 23:28:31    CodeSmith5.0.1    Original Version
/////////////////////////////////////////////////////////////////

</script>
<%

%>
<!doctype html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>详细页</title>
    <style type="text/css">
        @import "_UI/V2/Css/layout.css";
        @import "_Resources/Widgets/datepicker/ui.datepicker.css";
    </style>
    <!--[if lte IE 6]>
        <link href="_UI/V2/Css/ie6.css" rel="stylesheet" type="text/css" />
    <![endif]-->
    <script type="text/javascript" src="_Resources/Js/jquery.pack.js"></script>
    <script type="text/javascript" src="_Resources/Js/jquery.plugins.js"></script>
    <script type="text/javascript" src="_Resources/Widgets/datepicker/ui.datepicker.js"></script>
</head>
<body>

<div>
    <% new Header(); %>
</div>
    
<div id="container"> 
    <div id="header">
        <% new HeaderPrivate(); %>
    </div>
    
    <div id="breadcrumb">
        <% new Breadcrumb(); %>
    </div>

    <div id="wrapper">
      <!--main-->
      <div id="main">
        <div id="info" class="content">
            <div class="hd">
                <h2>Portfolio</h2>
                <span>Here is some of my works… :&nbsp;)</span>
            </div>
          
            <div class="rows">
                <% new ArticleDetail(); %>
            </div>
        </div>

        <!--评论------------------------------------------------------------------------------->

        <div id="comments" class="content">
            <div id="blog_comments_template"><% new CommentList(); %></div>
            <div id="send"><% new CreateComment(); %></div>
        </div>

      </div>
      <!--//main-->
      <!--side-->
      <div id="side">
        <div style="text-align:center;margin-top:10px">
            <!--##include file="ad/google_200X200_pic.aspx"-->
        </div>
        <div id="linkList">
          <div class="lselect">
            <h3>Categories</h3>
            <div><% new CreateCategory(); %></div>
            <div><% new CategoryList(); %></div>
          </div>
          <div class="lselect">
            <h3>Calendar</h3>
            <!--日历-->
            <span id="calendar"></span>
            <div style="clear:both;height:1em"></div>
            <!--//日历-->
          </div>
          <div class="lselect">
            <h3>Message</h3>
            <asp:literal runat="server" id="lblRelationArticles"></asp:literal>
          </div>
          <div class="lselect">
            <h3>Recent Comments</h3>
            <asp:literal runat="server" id="lblRecentComments"></asp:literal>
          </div>
        </div>
        <div style="text-align:center;margin-top:10px">
            <!--##include file="ad/google_200X200_txt.aspx"-->
        </div>
      </div>
      <!--//side-->
    </div>

</div>
    
<script type="text/javascript">
$(function(){

    // 加载日历Widget
    $('#calendar').attachDatepicker({
        onSelect: function(date) {
            alert(date);
        }
    });
});
</script>

</body>
</html>